package com.atguigu.tingshu.dispatch.impl;

import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.dispatch.SearchFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * Package: com.atguigu.tingshu.dispatch.impl
 *
 * @description
 * @author xiongkunYang
 * @since 2025/7/4 9:13 
 */
@Component
@Slf4j
public class SearchDegradeFeignClient implements SearchFeignClient {

    @Override
    public Result<Void> updateLatelyAlbumRanking() {
        log.error("[检索模块] 提供远程调用updateLatelyAlbumRanking服务降级");
        return Result.fail();
    }
}